package com.lilihub.miaosha.redis;

/**
 * @BelongsProject: miaosha2
 * @BelongsPackage: com.lilihub.miaosha.redis
 * @Author: LiYing
 * @CreateTime: 2021-04-26 15:34
 * @Description:
 */
public class MiaoshaUserKey extends BasePrefix{

    public static final int TOKEN_EXPIRE = 3600 * 24 * 2;

    private MiaoshaUserKey(int expireSeconds,String prefix) {
        super(expireSeconds,prefix);
    }


    public static MiaoshaUserKey token = new MiaoshaUserKey(TOKEN_EXPIRE,"tk");
    public static MiaoshaUserKey getById = new MiaoshaUserKey(0,"id");


}
